package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-07-01 20:16:09
 */
@Data
public class NoticeVo implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * id
		 */

		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
		@NotNull(message = "id不能为空")
		@ApiModelProperty(value="id",required = true)
			private Long id;



			/**
		 * 0:未读，1：已读
		 */
			@ApiModelProperty(value="0:未读，1：已读",required = false)
			private Integer isRead;

	
}
